SimplePay\Core\Transaction\TransactionObserver A

Total Complexity 68
Dependencies 5
Dependents 1
Total lines 830
Lines of code 473
Logical lines of code 172
Comment lines 256
Methods 13
Properties 2

Methods 13

Method Rating Maintainability Complexity Lines of code
update_on_checkout_session()
A
39 13 68
add_on_invoice()
A
42 9 55
add_on_payment_intent()
A
41 8 61
update_on_invoice()
A
42 8 56
update_on_checkout_session_lite()
A
42 6 54
maybe_increment_stock()
S
50 7 29
maybe_decrement_stock()
S
52 5 24
update_on_failed()
S
53 4 24
get_subscribed_events()
S
49 2 35
update_on_payment_intent()
S
57 3 18
add_on_subscription()
S
54 1 23
add_on_checkout_session()
S
54 1 22
__construct()
S
77 1 4